import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.config.productionTip = false
Vue.use(Vant)
Vue.directive('bgColor',{
    update(el){
        el.style.background = store.state.bgColor
    }
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
